package com.zjm.find.service;

import com.zjm.find.pojo.UserCollection;
import com.zjm.find.pojo.Moment;
import com.zjm.find.pojo.Strategy;

import java.util.List;

public interface MomentService {
    List<Moment> getMoment(Integer uid);

    List<Strategy> getStrategy(Strategy strategy);

    boolean createMoment(Moment moment);

    boolean updateStrategy(Strategy strategy);

    boolean deleteStrategy(Strategy strategy);


    boolean deleteMoment(String mid);

    boolean createStrategy(Strategy strategy);

    boolean createCollection(UserCollection collection);

    boolean cancelCollection(UserCollection collection);

    List<UserCollection> selectCollection(UserCollection userCollection);

    List<Strategy> selectUserCollection(Strategy strategy);

    List selectUserHistory(Strategy strategy);

    List getTabs();

}
